﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Purchase.Infrastructrue.Implenment
{
    public interface IBaseRepostity<T> where T : class
    {
       

        IQueryable<T> GetAll();
        IQueryable<T> GetAllAsync(Expression<Func<T, bool>> expression);
    }
}
